<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>hello word!!!</h1>
<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.1/jquery.min.js"></script>
<script>
    $.ajax({
        type:'post',
        url:'post1',
        success:function(body){
            console.log(body);
        }
    })
</script>
</body>
</html>